package com.coolgor.axnut.dao.lordsee;

import com.coolgor.axnut.entity.lordsee.ScanSegment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScanSegmentDao {

    ScanSegment queryScanSegmentById(Long recordID);

    List<ScanSegment> queryScanSegmentList(@Param("scanSegmentCondition") ScanSegment scanSegmentCondition,
                                             @Param("rowIndex") int rowIndex,
                                             @Param("pageSize") int pageSize);

    int queryScanSegmentCount(@Param("scanSegmentCondition") ScanSegment scanSegmentCondition);

    int insertScanSegment(ScanSegment scanSegment);

    int updateScanSegment(ScanSegment scanSegment);

    int deleteScanSegment(ScanSegment scanSegment);

    int batchDeleteScanSegment(List<Long> recordIDList);
}
